[INFO] cloning repository https://github.com/twilson-palantir/turbot-hearts
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/twilson-palantir/turbot-hearts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 31ad66eb72f5ed6396f4f01eb7d713255f644e5a
[INFO] checking twilson-palantir/turbot-hearts against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/twilson-palantir/turbot-hearts on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/twilson-palantir/turbot-hearts
[INFO] finished tweaking git repo https://github.com/twilson-palantir/turbot-hearts
[INFO] tweaked toml for git repo https://github.com/twilson-palantir/turbot-hearts written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/twilson-palantir/turbot-hearts already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f3307282db81e47a4932eaece2f2fc0aca6ae2922e0a0ef070dcc4bd53f5aee
[INFO] running `Command { std: "docker" "start" "-a" "8f3307282db81e47a4932eaece2f2fc0aca6ae2922e0a0ef070dcc4bd53f5aee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f3307282db81e47a4932eaece2f2fc0aca6ae2922e0a0ef070dcc4bd53f5aee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f3307282db81e47a4932eaece2f2fc0aca6ae2922e0a0ef070dcc4bd53f5aee", kill_on_drop: false }`
[INFO] [stdout] 8f3307282db81e47a4932eaece2f2fc0aca6ae2922e0a0ef070dcc4bd53f5aee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe335d50d8663ae2f73bd1c645c9cdba0d468c71335759233efe776f67845ce5
[INFO] running `Command { std: "docker" "start" "-a" "fe335d50d8663ae2f73bd1c645c9cdba0d468c71335759233efe776f67845ce5", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.39
[INFO] [stderr]     Checking bitflags v1.0.1
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking turbot-hearts v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |     }
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |     }
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |     }
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |     }
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |     }
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | / bitflags! {
[INFO] [stdout] 40 | |     struct Cards: u64 {
[INFO] [stdout] 41 | |         const CHARGEABLE = 0x0400_1000_0200_0100;
[INFO] [stdout] 42 | |         const NINES = 0x0080_0080_0080_0080;
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |     }
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let mut chargeable = hand[i] & Cards::CHARGEABLE;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:613:17
[INFO] [stdout]     |
[INFO] [stdout] 609 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 613 |                 Cards::empty(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:623:17
[INFO] [stdout]     |
[INFO] [stdout] 619 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 623 |                 Cards::empty(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:633:17
[INFO] [stdout]     |
[INFO] [stdout] 629 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 633 |                 Cards::empty(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:643:17
[INFO] [stdout]     |
[INFO] [stdout] 639 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 643 |                 Cards::empty(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:653:17
[INFO] [stdout]     |
[INFO] [stdout] 649 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 653 |                 Cards::empty(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:663:17
[INFO] [stdout]     |
[INFO] [stdout] 659 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 663 |                 Cards::empty(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:673:17
[INFO] [stdout]     |
[INFO] [stdout] 669 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 673 |                 Cards::empty(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:683:17
[INFO] [stdout]     |
[INFO] [stdout] 679 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 683 |                 Cards::empty(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:697:17
[INFO] [stdout]     |
[INFO] [stdout] 693 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 697 |                 Cards::parse("2C"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:707:17
[INFO] [stdout]     |
[INFO] [stdout] 703 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 707 |                 Cards::parse("2C"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:717:17
[INFO] [stdout]     |
[INFO] [stdout] 713 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 717 |                 Cards::parse("2C"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:727:17
[INFO] [stdout]     |
[INFO] [stdout] 723 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 727 |                 Cards::parse("2C"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:737:17
[INFO] [stdout]     |
[INFO] [stdout] 733 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 737 |                 Cards::parse("2C"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:747:17
[INFO] [stdout]     |
[INFO] [stdout] 743 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 747 |                 Cards::parse("2C"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:761:17
[INFO] [stdout]     |
[INFO] [stdout] 757 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 761 |                 Cards::parse("7C"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:771:17
[INFO] [stdout]     |
[INFO] [stdout] 767 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 771 |                 Cards::parse("7C"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:781:17
[INFO] [stdout]     |
[INFO] [stdout] 777 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 781 |                 Cards::parse("7S"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:791:17
[INFO] [stdout]     |
[INFO] [stdout] 787 |             legal_plays(
[INFO] [stdout]     |             ----------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 791 |                 Cards::parse("7S"),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Card>`
[INFO] [stdout]              found struct `Cards`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:334:4
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn legal_plays(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     lead: Option<Card>,
[INFO] [stdout]     |     ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:801:51
[INFO] [stdout]     |
[INFO] [stdout] 801 |             trick_winner(Cards::parse("A8S 96H"), Cards::parse("6H")),
[INFO] [stdout]     |             ------------                          ^^^^^^^^^^^^^^^^^^ expected struct `Card`, found struct `Cards`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn trick_winner(trick: Cards, lead: Card) -> Card {
[INFO] [stdout]     |    ^^^^^^^^^^^^               ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:800:9
[INFO] [stdout]     |
[INFO] [stdout] 800 | /         assert_eq!(
[INFO] [stdout] 801 | |             trick_winner(Cards::parse("A8S 96H"), Cards::parse("6H")),
[INFO] [stdout] 802 | |             Cards::parse("9H")
[INFO] [stdout] 803 | |         );
[INFO] [stdout]     | |         ^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |_________expected struct `Card`, found struct `Cards`
[INFO] [stdout]     |           expected because this is `Card`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `turbot-hearts` due to 21 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fe335d50d8663ae2f73bd1c645c9cdba0d468c71335759233efe776f67845ce5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe335d50d8663ae2f73bd1c645c9cdba0d468c71335759233efe776f67845ce5", kill_on_drop: false }`
[INFO] [stdout] fe335d50d8663ae2f73bd1c645c9cdba0d468c71335759233efe776f67845ce5
